<?php
require_once ('../../public/config/config.php');
require_once ('../class/GiveBack.class.php');
$gb = GiveBack::GetReturn($_SESSION['userID'], $_POST['bookcode']);
$r = $gb->ToRuturn($gb);
if($r == false){
	echo false;
}else{
	echo true;
}
?>